要如何進入node裡面?只要下這個指令「node」就可以進入了
要離開的話,只要輸入「.exit」就可以離開了
詳細運作過程如下:
it@it-sh:~/22$ node
> .help
.break Sometimes you get stuck, this gets you out
.clear Alias for .break
.editor Enter editor mode
.exit Exit the repl
.help Print this help message
.load Load JS from a file into the REPL session
.save Save all evaluated commands in this REPL session to a file
> .exit
it@it-sh:~/22$
想對外分享這則貼文嗎?運用網址更方便呦~